package com.xinqi.common.core.enums;

public enum CourseResourseStatusEnum {
    /**
     * 发布状态 1未发布 2定时发布 3已发布 4已结束 5已开始
     */
    UNRELEASE(1, "未发布"), TIMING_RELEASE(2, "定时发布"), RELEASED(3, "已发布"), FINISHED(4, "已结束"), STARTED(5, "已开始");
    //是否删除0否1是
    private Integer code;
    private String message;

    CourseResourseStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
